package com.yict.common.dao;

import java.io.Serializable;

import org.springframework.orm.hibernate3.HibernateTemplate;

public interface ICommonDao<T, PK extends Serializable> {

	public HibernateTemplate getTemplate();

	public boolean save(T t) throws Exception;

	public boolean update(T t) throws Exception;

	public boolean remove(T t) throws Exception;

	public T findbyId(PK id);
}
